#include<stdio.h>
int  main()
{
  double r,l,s,pi=3.14;
  scanf("%lf",&r);
  l=2*pi*r;
  s=pi*r*r;
  printf("%0.2lf %0.2lf",l,s);
  return 0;
}
  
